package ch12.d1;

import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.FileVisitor;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.TreeMap;

public class Test1 {
    public static void main(String[] args) throws IOException {
        A.B b=new A.B();

        LinkedList list=new LinkedList();
        // private static class Node<E>

        HashMap map=new HashMap();
        //static class Node<K,V> implements Map.Entry<K,V>
//        interface Entry<K, V>

        TreeMap map2=new TreeMap();
//        static final class Entry<K,V> implements Map.Entry<K,V>

        //过滤器
//        Files.newDirectoryStream(null,null);
        //判定器
//        Files.find(null,3,null);

        Thread t1=new Thread(){
            @Override
            public void run() {

            }
        };

        Runnable r=new Runnable() {
            @Override
            public void run() {

            }
        };
        Files.walkFileTree(null, new FileVisitor<Path>() {
            @Override
            public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
                return null;
            }

            @Override
            public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                return null;
            }

            @Override
            public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {
                return null;
            }

            @Override
            public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {
                return null;
            }
        });

    }
}
